package org.ch00.test05;

/*
 *
 *@author XCH
 *@date 2025 - 03 - 05 - 09:00
 *
 */
public class User{
    public void comeIn(Door door){
        System.out.println("用户回来了");
        System.out.println("-------------------------------------");
        System.out.println("拿钥匙开门了");
        door.open();
        System.out.println("用户回家了");
        door.close();
    }
}
